← Back to issue list

Add option to clean all parts

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1995365
Type
issue
State
open
Author
~rastersoft-gmail
Labels
Created
2022-11-01 11:31:40.386610+00:00
Updated
2022-11-01 11:31:40.386610+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Currently, executing a "snapcraft clean" will destroy any container used to build a snap. There is the option of using "snapcraft clean PART_NAME", and that will just clean that part and rebuild it and any part that depends on it. Unfortunately, there is no way of cleaning all the parts to trigger a full rebuild without deleting the container and having to pull all the snaps and packages needed to build the container. So, it would be useful to add "snapcraft clean --parts-only" or "snapcraft clean --all-parts" to just clean all the parts but without destroying the container.

Evaluation history

No evaluation history available.